package model;

public class Friendships {
    private int id;
    private String username1;
    private String username2;
    private int status;

    public Friendships(int id, String username1, String username2, int status) {
        this.id = id;
        this.username1 = username1;
        this.username2 = username2;
        this.status = status;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername1() {
        return username1;
    }

    public void setUsername1(String username1) {
        this.username1 = username1;
    }

    public String getUsername2() {
        return username2;
    }

    public void setUsername2(String username2) {
        this.username2 = username2;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Friendships{" +
                "id=" + id +
                ", username1='" + username1 + '\'' +
                ", username2='" + username2 + '\'' +
                ", status=" + status +
                '}';
    }
}